package com.study.mybatisplus.mapper;

import com.study.mybatisplus.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author flwu
 * @since 2020-03-20
 */
public interface UserMapper extends BaseMapper<User> {
    public User findUserMapByPhone(String phone);
    public Map<String, Object> findUserMapById(Integer id);
}
